/**
 * com.dingjian.meal.controller.MealTimeEditController.java
 * 2012-7-2
 */
package com.dingjian.meal.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dingjian.base.service.BaseService;
import com.dingjian.framework.base.controller.EditController;
import com.dingjian.meal.model.MealTime;
import com.dingjian.meal.service.MealTimeService;

/**
 * 餐点
 * @author FengMy
 * @since 2012-7-2下午04:50:19
 */
@Controller
@RequestMapping(value="meal/mealTime/*")
public class MealTimeEditController extends EditController {
	@Resource(name="mealTimeService")
	private MealTimeService mealTimeService;
	@Override
	protected Class<MealTime> getSubmitClass() {
		return MealTime.class;
	}

	@Override
	protected BaseService<MealTime> getService() {
		return mealTimeService;
	}
}
